/**
 * Created by hehe on 2015/7/24.
 */
var OrderBiz = require('../../biz').OrderBiz;
process.on('message', function(m) {
    var promise = new OrderBiz().excelInsertedIntoDB();
    promise.then(function (result) {
        process.send(result);
        process.exit(0);
    }, function (err) {
        process.send({error:err });
        process.exit(0);
    });
});